package cn.nexd.location.collector.bean;


/**
 * Created by codingfish on 15/9/28.
 */
public class WifiCollectorResult implements Cloneable {

    //    private static final ObjectPools.SimplePool<WifiCollectorResult> pool = new ObjectPools.SimplePool<>(20);
    ////////////stander title start////////////
    private long startTime;//采集开始时间
    private long endTime;//采集结束时间
    private long collectorId;//采集器 ID。同一个 ID 对应一组采集到的数据

    private long timestamp;//信号扫描时间
    private int collectorRate;//采集频率

    ///////////stander title end//////////////


    private String SSID;//the network name
    private String BSSID;//the address of the access point
    private String capatbilities;//describes the authentication
    private int level;//the detected signal level in dBm,also known as RSSI
    private int frequency;//The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating with the access point.
    //    private int channelWidth;//AP Channel bandwidth; one of HANNEL_WIDTH_20MHZ  CHANNEL_WIDTH_40MHZ  CHANNEL_WIDTH_80MHZ CHANNEL_WIDTH_160MHZ CHANNEL_WIDTH_80MHZ_PLUS_MHZ


    ////////////////////////////////////////////

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public long getCollectorId() {
        return collectorId;
    }

    public void setCollectorId(long collectorId) {
        this.collectorId = collectorId;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCollectorRate() {
        return collectorRate;
    }

    public void setCollectorRate(int collectorRate) {
        this.collectorRate = collectorRate;
    }


    public String getSSID() {
        return SSID;
    }

    public void setSSID(String SSID) {
        this.SSID = SSID;
    }

    public String getBSSID() {
        return BSSID;
    }

    public void setBSSID(String BSSID) {
        this.BSSID = BSSID;
    }

    public String getCapatbilities() {
        return capatbilities;
    }

    public void setCapatbilities(String capatbilities) {
        this.capatbilities = capatbilities;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    //    public int getChannelWidth() {
    //        return channelWidth;
    //    }

    //    public void setChannelWidth(int channelWidth) {
    //        this.channelWidth = channelWidth;
    //    }


    @Override
    public WifiCollectorResult clone() throws CloneNotSupportedException {
        return (WifiCollectorResult) super.clone();
    }
}
